<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
	<title>{$title}{if $moduletitle}{C 'title_sperator' '-'}{$moduletitle}{/if}</title>
	<meta name="keyword" value="{$keyword}" >
	<meta name="description" value="{$description}" >
    {run $pageName = "login"}
    {include member.inc.csslink}
</head>
<body class="login_forget">
{include member.inc.header_login}
<main class="clearfix">
    <section class="panel_form">
		<form class="step1" method="POST" onsubmit="return false;">
			<input type="hidden" name="step" value="1">
            <p class="title">通过手机号码重置登录密码</p>
            <div class="row">
                <i class="user"></i><input class="form-control" type="text" name="username" placeholder="请输入手机号" id="mobile" />
            </div>

            <div class="row code">
                <i class="vcode"></i><input class="form-control" type="text" name="vcode" placeholder="请输入验证码"/>
                <span class="fr tr">
                    <a href="javascript:;" class="getCode_btn" data-active="false" disabled data-act="getSMS">获取验证码</a>
                </span>
            </div>

            <ul class="errorWrap"></ul>
            <input type="submit" class="sub_btn" value="下一步">
            <div class="to_login clearfix">
                <p class="fr c-info"> 我知道密码了, <a href="/member/login/index" class="link2">立即登录</a></p>
            </div>
        </form>
        <form class="step2" method="POST" onsubmit="return false;">
            <input type="hidden" name="step" value="2">
            <input type="hidden" name="token"id="token">
            <input type="password" class="hidePwd">
            <p class="title">设置新密码</p>
            <div class="row">
                <i class="pwd"></i><input class="form-control" type="password" name="pwd" placeholder="新密码" id="pwd"/>
            </div>
            <div class="row">
                <i class="pwd"></i><input class="form-control" type="password" name="pwd2" placeholder="确认密码" />
            </div>
            <ul class="errorWrap"></ul>
            <input type="submit" class="sub_btn" value="确认">
            <div class="to_login clearfix">
                <p class="fr c-info"> 我知道密码了 <a href="/member/login/index" class="link2">立即登录</a></p>
            </div>
        </form>
    </section>
</main>

{include member.inc.footer}
{include member.inc.script}

<script>
   seajs.use('login',function(login){
       login.step = "{url /member/login/do_forget}";
       login.forget();
   });
</script>
{include member.inc.foot_hook}
</body>
</html>
